[Firewall] Apply a predefined firewall template
Apply a predefined firewall template to the instance, replacing existing rules. Templates provide common security configurations for different use cases (e.g., web server, database server). This operation applies the rules immediately.
Documentation Index
Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
Path Parameters
Unique identifier of the compute instance.
Unique identifier of the organization that owns the resource.
Unique identifier of the project containing the resource.
Body
Rule name
255Rule description
inbound- Inboundoutbound- Outbound
inbound, outbound accept- Acceptdrop- Dropreject- Reject
accept, drop, reject tcp- TCPudp- UDPicmp- ICMPall- All
tcp, udp, icmp, all Source IP en notation CIDR (ex: 0.0.0.0/0 pour tout)
100Destination IP en notation CIDR
100Priorité (plus petit = plus prioritaire)
0 <= x <= 4294967295Response
Firewall template application initiated

